<?php
$fp=stream_socket_client('tcp://127.0.0.1:4002');
$h264=fopen('./source/dd.h264','r');
while(!feof($h264)){
    fwrite($fp,fread($h264,1024));
    usleep(20000);
}
echo 'over';